package com.mall.dubbo.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tanhua.model.domain.UmsResource;
import com.tanhua.model.dto.ResourceListDao;

import java.util.List;

public interface UmsResourceApi {
    Page listResource(ResourceListDao resourceListDao);

    boolean delete(Integer id);

    boolean update(Integer id, UmsResource umsResource);

    boolean create(UmsResource umsResource);

    List<UmsResource> listAll();
}
